/**
 * 
 */
package com.sanid.wqb;

import java.util.ArrayList;
import java.util.List;

/**
 * @author schroetelm
 *
 */
public class Question {
	
	private String category;
	private String question;
	private String answer;
	private List<String> alternateAnswers = new ArrayList<String>();
	
	
	/**
	 * @return the question
	 */
	public String getQuestion() {
		return question;
	}
	
	/**
	 * @param question the question to set
	 */
	public void setQuestion(String question) {
		this.question = question;
	}
	
	/**
	 * @return the answer
	 */
	public String getAnswer() {
		return answer;
	}
	
	/**
	 * @param answer the answer to set
	 */
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	
	/**
	 * @return the alternateAnswer
	 */
	public List<String> getAlternateAnswers() {
		return alternateAnswers;
	}
	
	/**
	 * Add another answer
	 * @param answer
	 */
	public void addAlternateAnswer(String answer) {
		getAlternateAnswers().add(answer);
	}

	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

}
